<template>
  <BotFixedBar class="ProductBotBar">
    <view class="bot-bar">
      <view class="bot-bar-left">
        <view class="left-item">
          <wd-icon name="chart-bubble" size="18px" />
          <text class="left-text">店铺</text>
        </view>
        <view class="left-item">
          <wd-icon name="chat" size="18px" />
          <text class="left-text">客服</text>
        </view>
        <view class="left-item">
          <wd-icon name="cart" size="18px" />
          <text class="left-text">购物车</text>
        </view>
      </view>
      <view class="btn-box">
        <view class="btn">加入购物车</view>
        <view class="btn"> 立即购买 </view>
      </view>
    </view>
  </BotFixedBar>
</template>

<script setup>
import BotFixedBar from "@/components/BotFixedBar.vue";
const props = defineProps();
</script>

<style lang="scss" scoped>
.bot-bar {
  width: 100%;
  padding: 0 12px;
  padding-right: 5px;
  gap: 10px;
  display: flex;
  justify-content: space-between;
  .bot-bar-left {
    flex: 1;
    display: flex;
    .left-item {
      flex: 1;
      gap: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      .left-text {
        font-size: 12px;
      }
    }
  }
  .btn-box {
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    .btn {
      width: 90px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      background-color: #f40;
      &:nth-of-type(1) {
        background-color: #f9a044;
      }
    }
  }
}
</style>
